package actions;
import java.io.Serializable;

/**
 * 
 */

/**
 * @author Administrateur
 *
 */
public class ActionFactory implements Serializable {

	private static final long serialVersionUID = 6885088673701780426L;

	public ActionFactory() {}
	
	public static Action getAction(String action,Object b){
		Action a = new Action(b);
		if (action.equalsIgnoreCase("connexion")){
			a = getActionConnexion(b);
		}
		return a;
	}
	
	public static ActionConnexion getActionConnexion(Object b){
		return new ActionConnexion(b);
	}

}
